﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Media.Imaging;

namespace GoogleWeather
{
    public class WeatherReport
    {
        private const string URL = "http://www.google.com";
        private Image weatherImage = new Image();

        public string City
        {
            get;
            set;
        }

        public string Condition
        {
            get;
            set;
        }

        public string DayOfWeek
        {
            get;
            set;
        }

        public string Humidity
        {
            get;
            set;
        }

        public string TempC
        {
            get;
            set;
        }

        public string TempF
        {
            get;
            set;
        }

        public Image WeatherImage
        {
            get { return weatherImage; }
            set { weatherImage = value; }
        }

        public string Wind
        {
            get;
            set;
        }

        private string _imageUrl;
        public string ImageURL
        {
            get { return _imageUrl; }
            set
            {
                _imageUrl = URL + value;
                //weatherImage.Source = new BitmapImage(new Uri(URL + value));
            }
        }
    }
}
